# include <stdio.h>
int main (void)
{
	int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
	int i,j;
	int t;

	i=0;
	j=7;

	while(i<j)
	{
		t = a[i];
		a[i] = a[j];
		a[j] = t;

		i++;
		--j;
	}
	
	for(i=0;i<8;++i)
	{
		printf("%2d",a[i]);
	}
	printf("\n");
	return 0;
}